<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>后台登录</title>
<meta name="author" content="DeathGhost" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/css/stylelogin.css" tppabs="__PUBLIC__/admin/css/stylelogin.css" />
<style>
body{height:100%;
    background:#2196f3;
    overflow:hidden;}
canvas{z-index:-1;position:absolute;}
</style>
<script src="__PUBLIC__/admin/js/jquery-1.9.1.min.js"></script>
<!--<script src="__PUBLIC__/admin/js/verificationNumbers.js" tppabs="__PUBLIC__/admin/js/verificationNumbers.js"></script>-->
<script src="__PUBLIC__/admin/js/Particleground.js" tppabs="__PUBLIC__/admin/js/Particleground.js"></script>
<script>
$(document).ready(function() {
  //粒子背景特效
  $('body').particleground({
    dotColor: '#5cbdaa',
    lineColor: '#5cbdaa'
  });
  //验证码
//  createCode();
  //测试提交，对接程序删除即可
  $(".submit_btn").click(function(event){
            if(!$("#name").val() || !$("#password").val()){
                alert('用户名、密码不能为空');
                event.preventDefault();

            }

	  });
});
</script>
</head>
<body>
<dl class="admin_login">
 <dt>
  <strong>签到抽奖后台管理</strong>

 </dt>
    <form action="{:U('Admin/User/index')}" method="post">
        <input name="lottery" value="{$lottery|default=0}" style="display:none;">
        <dd class="user_icon">
            <input type="text" name="name" placeholder="账号" class="login_txtbx" id="name"/>
        </dd>
        <dd class="pwd_icon">
            <input type="password" name="password" placeholder="密码" class="login_txtbx" id="password"/>
        </dd>
        <!--<dd class="val_icon">-->
        <!--<div class="checkcode">-->
        <!--<input type="text" id="J_codetext" placeholder="验证码" maxlength="4" class="login_txtbx">-->
        <!--<canvas class="J_codeimg" id="myCanvas" onclick="createCode()">对不起，您的浏览器不支持canvas，请下载最新版浏览器!</canvas>-->
        <!--</div>-->
        <!--<input type="button" value="验证码核验" class="ver_btn" onClick="validate();">-->
        <!--</dd>-->
        <dd>
            <input type="submit" value="立即登陆" class="submit_btn"/>
        </dd>
        <dd>

    </form>

  <!--<p>© 2015-2016 jq22 版权所有</p>-->
  <!--<p>陕B2-8998988-1</p>-->
 </dd>
</dl>
</body>
</html>
